import java.util.Scanner;

public class CarDemo02 {
    public static void main(String[] args) {
        Car bmw = new Car();
        bmw.color = "黑色";
        bmw.carCard = "京A88888";
        bmw.year = 3;

        bmw.run();
        bmw.music();

        Car aoDi = new Car("白色", "京A6666", 5);

        Car daZhong = new Car("蓝色", "京A11111");
        System.out.println(daZhong.color);
        System.out.println(daZhong.carCard);
        System.out.println(daZhong.year);

        Scanner s = new Scanner(System.in);

    }
}
